<link rel="stylesheet" type="text/css" href="static/dhtmlx/dhtmlxLayout/codebase/dhtmlxlayout.css">
<link rel="stylesheet" type="text/css" href="static/dhtmlx/dhtmlxLayout/codebase/skins/dhtmlxlayout_dhx_skyblue.css">
<link rel="stylesheet" type="text/css" href="static/dhtmlx/dhtmlxWindows/codebase/dhtmlxwindows.css">
<link rel="stylesheet" type="text/css" href="static/dhtmlx/dhtmlxWindows/codebase/skins/dhtmlxwindows_dhx_skyblue.css">
<script src="static/dhtmlx/dhtmlxLayout/codebase/dhtmlxcommon.js"></script>
<script src="static/dhtmlx/dhtmlxLayout/codebase/dhtmlxlayout.js"></script>
<script src="static/dhtmlx/dhtmlxWindows/codebase/dhtmlxwindows.js"></script>
<script src="static/dhtmlx/dhtmlxLayout/codebase/dhtmlxcontainer.js"></script>

<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.1.js"></script>
 
<div id="winVP" style="position: relative; height: 500px; border: #cecece 1px solid; margin: 10px;"></div>
<script>

var dhxWins,
layoutWin,
dhxLayout;
function doOnLoad() {
    dhxWins = new dhtmlXWindows();
    dhxWins.enableAutoViewport(false);
    dhxWins.attachViewportTo("winVP");
    //dhxWins.setImagePath("../../../dhtmlxWindows/codebase/imgs/");
    dhxLayout = new dhtmlXLayoutObject(dhxWins.createWindow("w1", 20, 30, 600, 400), "3L");
}

$(document).ready(function() {
	doOnLoad();
});
</script>

